package com.ruoyan.mapper;

import com.ruoyan.pojo.Purchase;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Package: com.ruoyan.mapper
 * @ClassName: PurchaseMapper
 * @Author: ruoyan1998
 * @CreateTime: 2021/6/7 21:08
 * @Description:
 */
@Mapper
public interface PurchaseMapper
{
    List<Purchase> queryPurchaseList();

    Purchase queryPurchaseListById(int id);

    int updatePurchase(Purchase purchase);

    int addPurchase(Purchase purchase);

    int deletePurchase(int id);
}
